package cn.itcast.dewu.service;

import cn.itcast.dewu.dto.Result;
import cn.itcast.dewu.pojo.Blog;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Administrator
* @description 针对表【tb_blog】的数据库操作Service
* @createDate 2022-04-29 14:05:02
*/
public interface BlogService extends IService<Blog> {

    Result likeBlog(Long id);

    Result queryHotBlog(Integer current);

    Result queryBlogById(Long id);

    Result queryBlogLikes(Long id);

    Result deleteBlog(Long id);

    Result saveBlog(Blog blog);

    Result queryBlogOfFollow(Long max, Integer offset);

    Result queryblogByContent(Integer corrent,String content);
}
